﻿

using Newtonsoft.Json;

namespace TImSdk
{
    /// <summary>
    /// 下载元素接口的返回
    /// </summary>
    public class MsgDownloadElemResult
    {
        /// <summary>
        /// 当前已下载的大小
        /// </summary>
        [JsonProperty("msg_download_elem_result_current_size")]
        public int Msg_Download_Elem_Result_Current_Size { get; set; }
        /// <summary>
        /// 需要下载的文件总大小
        /// </summary>
        [JsonProperty("msg_download_elem_result_total_size")]
        public int Msg_Download_Elem_Result_Total_Size { get; set; }
    }

    public class MsgDownloadElemComplate
    {
        public long messgaeUniqueId { get; set; }
        public TIMDownloadType tIMDownloadType { get; set; }
     
        public MsgDownloadElemComplate(long messgaeUniqueId, TIMDownloadType tIMDownloadType)
        {
            this.messgaeUniqueId = messgaeUniqueId;
            this.tIMDownloadType = tIMDownloadType;
        }
    }
}
